package com.cm.caseManagement.service;

import com.cm.caseManagement.pojo.entity.CmAdvanceCost;

import java.util.List;

/**
 * 代收代付Service接口
 *
 * @author ruoyi
 * @date 2025-10-05
 */

public interface ICmAdvanceCostService
{
    /**
     * 查询代收代付
     *
     * @param id 代收代付主键
     * @return 代收代付
     */
    public CmAdvanceCost selectCmAdvanceCostById(Long id);

    /**
     * 查询代收代付列表
     *
     * @param cmAdvanceCost 代收代付
     * @return 代收代付集合
     */
    public List<CmAdvanceCost> selectCmAdvanceCostList(CmAdvanceCost cmAdvanceCost);

    /**
     * 新增代收代付
     *
     * @param cmAdvanceCost 代收代付
     * @return 结果
     */
    public int insertCmAdvanceCost(CmAdvanceCost cmAdvanceCost);

    /**
     * 修改代收代付
     *
     * @param cmAdvanceCost 代收代付
     * @return 结果
     */
    public int updateCmAdvanceCost(CmAdvanceCost cmAdvanceCost);

    /**
     * 批量删除代收代付
     *
     * @param ids 需要删除的代收代付主键集合
     * @return 结果
     */
    public int deleteCmAdvanceCostByIds(Long[] ids);

    /**
     * 删除代收代付信息
     *
     * @param id 代收代付主键
     * @return 结果
     */
    public int deleteCmAdvanceCostById(Long id);
}
